package com.hegongda.service;

import com.hegongda.bean.Introduce;
import com.hegongda.bean.Nav;
import com.hegongda.bean.PageBean;
import com.hegongda.bean.Product;

import java.util.List;

public interface ProductService {
    public List<Product> getHost();
    public List<Product> getNews();
    public List<Nav> getAllNav();
    public Product getOneProduct(String pid);
    public PageBean<Product> getPageProduct(String cid,int pageSize,int pagenum);
    public PageBean<Product> foundByNamePage(String search,int pageSize,int pagenum);
    public Introduce getOneProductI(String iid);
}
